import { createRouter,createWebHashHistory } from 'vue-router';
import List from '@/views/ListPage/index.vue'
import ListDetail from '@/views/ListDetail/index.vue'

const routes = [
    {
        path : '/',
        component : List
    },
    {
        path : '/detail',
        component: () => import("@/views/ListDetail/index.vue"),
    }
];

const router = createRouter({
    history : createWebHashHistory(),
    routes
});

export default router;